/**
 * 财务管理模块 http 请求
 */
import http from '@/utils/request'

export const gainBillNo = (data) => {
  return http.get('/api/erp/finance/team/erpFinanceTeamCutBill/getBillNo', data)
}

export const add = (data) => {
  return http.post('/api/erp/finance/team/erpFinanceTeamCutBill/add', data)
}

export const edit = (data) => {
  return http.put('/api/erp/finance/team/erpFinanceTeamCutBill/edit',data)
}

export const info = (data) => {
  return http.get('/api/erp/finance/team/erpFinanceTeamCutBill/queryById', data)
}

export const queryContractManagerFinal = (data) => {
  return http.get('/api/erp/omc/contractmanager/erpOmcContractManagerFinal/list', data)
}

export const queryProjectTask = (data) => {
  return http.get('/api/erp/omc/project/erpOmcProjectTask/list', data)
}
export const queryTeamCutAmount = (data) => {
  return http.get('/api/erp/finance/team/erpFinanceTeamCutBill/getTeamCutAmount', data)

}